package com.runa.monitor.platinterface.dispatch.conn.gen;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Result {

    private Integer code;

    private String msg;

    private Object data;

    public static Result error() {
        return new Result(500, "调用失败，内部错误",null);
    }
}
